<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Student
 *
 * @author user
 */
class Student {
    //put your code here
    private $studentName;
    private $studentLevel;
    private $age;
    private $gender;
    private $address;
    private $contactNum;
    private $idStudent;
    
    function __construct() {
        $this->contactNum=array();
    }

    
    public function setStudentName($studentName) {
        $this->studentName = $studentName;
    }

    public function setStudentLevel($studentLevel) {
        $this->studentLevel = $studentLevel;
    }

    public function setAge($age) {
        $this->age = $age;
    }

    public function setGender($gender) {
        $this->gender = $gender;
    }

    public function setAddress($address) {
        $this->address = $address;
    }

    public function setContactNum($contactNum) {
       
        for($counter=0;$counter<sizeof($contactNum);$counter++){
               
                $this->contactNum[$counter]=$contactNum[$counter];
                 
        }
    }

        
    public function getStudentName() {
        return $this->studentName;
    }

    public function getStudentLevel() {
        return $this->studentLevel;
    }

    public function getAge() {
        return $this->age;
    }

    public function getGender() {
        return $this->gender;
    }

    public function getAddress() {
        return $this->address;
    }

    public function getContactNum() {
        return $this->contactNum;
    }

    public function setIdStudent($idStudent){
        $this->idStudent=$idStudent; 
    }
    
     public function getIdStudent(){
       return $this->idStudent;
        
    }
    
    
    
    
}

?>
